package com.karson.common.request;

import com.karson.common.constants.Constants;
import com.karson.common.enums.AgeRating;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author ZKS
 */
@Data
public class AlbumSearchRequest {
    @Schema(name = "current", example= Constants.DEFAULT_PAGE + "")
    private int current = Constants.DEFAULT_PAGE;

    @Schema(name = "size", example = Constants.DEFAULT_LIMIT + "")
    private int size = Constants.DEFAULT_LIMIT;

    @Schema(description = "关键字")
    private String keyword;

    @Schema(description = "包含作者Id")
    private List<Integer> includeAuthorIds;

    @Schema(description = "排除作者Id")
    private List<Integer> excludeAuthorIds;

    @Schema(description = "包含标签Id")
    private List<Integer> includeTagIds;

    @Schema(description = "排除标签Id")
    private List<Integer> excludeTagIds;

    @Schema(description = "包含社群Id")
    private List<Integer> includeCircleIds;

    @Schema(description = "排除社群Id")
    private List<Integer> excludeCircleIds;

    @Schema(description="年龄分级")
    private AgeRating ageRating;

    @Schema(description="排序类型")
    private Integer orderType;
}

